package com.gzsxy.esjy.service.cart.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 购物车
 * </p>
 *
 * @author zxl
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_cart")
@ApiModel(value="Cart对象", description="购物车")
public class Cart extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品ID（外键）")
    private String productId;

    @ApiModelProperty(value = "用户ID（外键）")
    private String userId;

    @ApiModelProperty(value = "数量")
    private Integer number;




}
